package com.dime.basic.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 问诊症状对象 dime_basesymptom
 *
 * @author ruoyi
 * @date 2023-09-28
 */
public class DimeBasesymptom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 症状编码 */
    @Excel(name = "症状编码")
    private String symptomCode;

    /** 症状名称 */
    @Excel(name = "症状名称")
    private String symptomName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer IsValid =1;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setSymptomCode(String symptomCode)
    {
        this.symptomCode = symptomCode;
    }

    public String getSymptomCode()
    {
        return symptomCode;
    }
    public void setSymptomName(String symptomName)
    {
        this.symptomName = symptomName;
    }

    public String getSymptomName()
    {
        return symptomName;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("symptomCode", getSymptomCode())
            .append("symptomName", getSymptomName())
            .append("IsValid", getIsValid())
            .toString();
    }
}
